<div class="modal fade" id="enchant-select-dialog" tabindex="-1" role="dialog" #enchantEditElement (init)="init(enchantEditElement)">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content bordered">
        <div class="modal-header">
            <div class="modal-title">Edit Enchantment</div>
        </div>
        <div class="modal-body" style="white-space: pre-line;">
            <div *ngIf="enchant != null" class="enchant-edit-dialog-body">
                <div class="enchant-card">
                    <div class="enchant-card-icon" [style.background-position]="iconPackgroundPos" (mouseenter)="onHoverIconBegin()" (mouseleave)="onHoverIconEnd()"></div>
                    <div class="enchant-card-body">
                        <div class="enchant-card-name">{{enchant.name}}</div>
                        <enchant-text class="enchant-card-desc" [item]="item" [enchant]="enchant" [bulleted]="false"></enchant-text>
                    </div>
                </div>
                <input type="range" [min]="range.min" [max]="range.maxGreaterAugmented" [value]="enchant.value" (input)="enchant.value = $event.target.valueAsNumber" class="long-slider">
                <div>{{enchant.value}}</div>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn short-button" data-dismiss="modal">Close</button>
        </div>
        </div>
    </div>
</div>
